To run the poetry example, download the json file at https://github.com/aparrish/gutenberg-poetry-corpus, download the poetry foundation dataset at https://www.kaggle.com/johnhallman/complete-poetryfoundationorg-dataset, place both in the poetry folder, and then run

```
cd poetry
python3 runeverything.py
```

To run the music example, download the music dataset at https://kern.humdrum.org/cgi-bin/browse?l=/essen, convert the contents to musicxml (for instance, through the musescore program), and then place the results in a folder inside the poetry corpus named "essen".  Then download the "cat-mel_2bar_big" model at https://github.com/magenta/magenta/tree/master/magenta/models/music_vae, and place it in a folder titled "cat-mel_2bar_big".  Then run

```python3 runeverything.py vae```

for approach A3, or

```python3 runeverything.py z3``` 

for approach A2.